package com.glp.work.flow.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;

/**
 * 消息
 */
@Data
@ApiModel("消息")
public class CashMessageDTO {
    private Long id;
    @ApiParam("类型  0 全平台  1 文本消息  2 短信  3 邮件")
    private String type;
    @ApiParam("消息编号 批次号")
    private String code;
    @ApiParam("标题")
    private String title;
    @ApiParam("内容")
    private String content;
    @ApiParam("提交用户id")
    private String receiver;
    @ApiParam("动态/事件  1.待办")
    private String action;
    @ApiParam("事件id")
    private String actionId;
    @ApiParam("下发状态  0 待下发  1 已下发")
    private int pull;
    @ApiParam("接收消息用户id")
    private String userId;
    @ApiParam("-1 删除  2 已读 1未读")
    private Integer status;
    private Long createTime;
    private Long updateTime;
}
